package com.wennimei.dao;

import net.paoding.rose.jade.annotation.DAO;
import net.paoding.rose.jade.annotation.SQL;

@DAO
public interface AdminDAO {

    @SQL("select count(1) from admin where username= :1 and password = :2")
    public Integer isAdmin(String username, String password);
}
